﻿// owner 蒋家伟

#pragma once

// jsdk
#include "IUnitTestManager.h"

namespace jsdk
{
    class UnitTestManager : public IUnitTestManager
    {
    public:
        static UnitTestManager& get();
    private:
        // 继承IUnitTestManager
        virtual void registerTestFunction(const ClassId classId, const UnitTestFunction& unitTestFunction) override;
        virtual bool start() const override;

        UnitTestManager();
        ~UnitTestManager();
    private:
        std::map<std::string, UnitTestFunction> m_classIdToUnitTestFunctionMap;
    };
}